package com.gisocn.onemap.tdt;

import android.util.Log;
import com.gisocn.onemap.base.Constant;
import com.gisocn.onemap.model.TDTType;

/* loaded from: classes2.dex */
public class TDTUrl {
    private int _col;
    private int _level;
    private int _row;
    private TDTType _tiandituMapServiceType;

    public TDTUrl(int i, int i2, int i3, TDTType tDTType) {
        this._level = i;
        this._col = i2;
        this._row = i3;
        this._tiandituMapServiceType = tDTType;
    }

    public String getUrl(String str) {
        String str2 = str + "?request=GetTile&version=1.0.0&style=default&tileMatrixSet=c&format=image/png&TILEMATRIX=";
        StringBuilder sb = new StringBuilder(str2);
        StringBuilder sb2 = new StringBuilder(str2);
        sb2.append(this._level + "&TILEROW=" + this._row + "&TILECOL=" + this._col + "&tk=" + Constant.TIANDITU_KEY);
        StringBuilder sb3 = new StringBuilder();
        sb3.append("");
        sb3.append((Object) sb);
        Log.e("pzh_url", sb3.toString());
        StringBuilder sb4 = new StringBuilder();
        sb4.append("");
        sb4.append((Object) sb2);
        Log.e("yt_url", sb4.toString());
        return sb2.toString();
    }
}
